package com.ecloud.support.generator.service.iface;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ecloud.common.base.result.Result;
import com.ecloud.support.generator.model.dto.TemplateSetDto;
import com.ecloud.support.generator.model.entity.TemplateSetPo;

/**
 * ITemplateSetSetService
 *
 * @author LiuGangQiang Create in 2021/04/15
 */
public interface ITemplateSetService extends IService<TemplateSetPo> {

    /**
     * 新增数据
     *
     * @author LiuGangQiang Create in 2021/04/01
     * @param dto 入参
     * @return {@link Result}
     */
    Result<?> insert(TemplateSetDto dto);

    /**
     * 删除数据
     *
     * @author LiuGangQiang Create in 2021/04/01
     * @param id ID
     * @return {@link Result}
     */
    Result<?> delete(TemplateSetDto dto);

    /**
     * 修改数据
     *
     * @author LiuGangQiang Create in 2021/04/01
     * @param id  ID
     * @param dto 入参
     * @return {@link Result}
     */
    Result<?> update(TemplateSetDto dto);

    /**
     * 查询列表
     *
     * @author LiuGangQiang Create in 2021/04/01
     * @param dto 入参
     * @return {@link Result}
     */
    Result<?> queryList(TemplateSetDto dto);

}
